﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/2/8 20:09:32
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 餐桌信息实体
    /// </summary>
    [Serializable]
    [DataContract]
    public class RS_Table : Entity
    {
        #region Inner members
        private int _tableId;
        private int _roomId;
        private int _tableNo;
        private int _seatCount;
        private int _status;
        private string _roomName;
        #endregion

        #region Accessor
        [DataMember]
        public int TableId
        {
            get { return _tableId; }
            set { _tableId = value; }
        }

        [DataMember]
        public int RoomId
        {
            get { return _roomId; }
            set { _roomId = value; }
        }

        [DataMember]
        public int TableNo
        {
            get { return _tableNo; }
            set { _tableNo = value; }
        }

        [DataMember]
        public int SeatCount
        {
            get { return _seatCount; }
            set { _seatCount = value; }
        }

        [DataMember]
        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        [DataMember]
        public string RoomName
        {
            get { return _roomName; }
            set { _roomName = value; }
        }
        #endregion
    }
}
